Coyote\Controllers\SettingsController A

Total Complexity 64
Dependencies 5
Dependents 1
Total lines 526
Lines of code 406
Logical lines of code 181
Comment lines 5
Methods 26
Properties 6

Methods 26

Method Rating Maintainability Complexity Lines of code
init()
A
36 5 103
tools()
A
42 6 57
get_profile()
S
49 6 32
settings_page_cb()
S
54 5 23
api_organization_id_cb()
S
55 5 17
change_organization_id()
S
52 4 23
verify_settings()
S
54 3 21
enqueue_scripts()
S
55 3 19
plugin_setting_section_cb()
S
57 2 19
__construct()
S
55 2 18
sanitize_endpoint()
S
67 3 8
settings_updates_enabled_cb()
S
68 2 6
settings_filters_enabled_cb()
S
68 2 6
settings_is_standalone_cb()
S
68 2 6
settings_import_unpublished_enabled_cb()
S
68 2 6
sanitize_boolean()
S
78 2 3
sanitize_organization_id()
S
80 1 3
sanitize_token()
S
80 1 3
noop_setting_section_cb()
S
98 1 1
api_endpoint_cb()
S
73 1 4
api_token_cb()
S
73 1 4
api_metum_cb()
S
73 1 4
menu()
S
66 1 10
set_organization_id()
S
79 1 3
change_standalone_mode()
S
76 1 4
sanitize_metum()
S
80 1 3